<%@ Reference Control="~/UserControls/PickQuery.ascx" %>
<%@ Reference Control="~/UserControls/DisplayIssues.ascx" %>
<%@ Reference Control="~/UserControls/PickProject.ascx" %>
<%@ Page Language="c#" Inherits="ASPNET.StarterKit.IssueTracker.Queries.QueryList" CodeFile="QueryList.aspx.cs" %>
<%@ Register TagPrefix="it" TagName="PickProject" Src="~/UserControls/PickProject.ascx" %>
<%@ Register TagPrefix="it" TagName="PickQuery" Src="~/UserControls/PickQuery.ascx" %>
<%@ Register TagPrefix="it" TagName="Footer" Src="~/UserControls/Footer.ascx" %>
<%@ Register TagPrefix="it" TagName="Header" Src="~/UserControls/Header.ascx" %>
<%@ Register TagPrefix="it" TagName="DisplayIssues" Src="~/UserControls/DisplayIssues.ascx" %>
<it:Header Title="Issue Tracker - Queries" TabName="Queries" runat="server" id="Header1" />
<form runat="server">
	<table class="contentTableShort">
		<tr>
			<td class="contentCell">
				<table width="100%" cellspacing="10">
					<tr>
						<td align="right">
							<asp:Button Text="Create New Query" Class="standardText" Runat="server" id="Button1" onclick="AddQuery" />
							<asp:Button Text="Delete Query" Class="standardText" Runat="server" id="Button2" onclick="DeleteQuery" />
						</td>
					</tr>
				</table>
				<table Border="1" BorderColor="black" CellPadding="4" CellSpacing="0">
					<tr>
						<td>
							Project:
						</td>
						<td>
							<it:PickProject id="dropProjects" CssClass="standardText" DisplayDefault="false" AutoPostBack="true"
								Runat="Server" onselectedindexchanged="ProjectSelectedIndexChanged" />
						</td>
						<td>
							Query:
						</td>
						<td>
							<it:PickQuery id="dropQueries" CssClass="standardText" DisplayDefault="true" Runat="Server" />
						</td>
						<td>
							<asp:Button id="btnPerformQuery" Text="Perform Query" CssClass="standardText" Runat="Server" onclick="btnPerformQueryClick" />
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<br>
	<br>
	<table class="contentTableShort">
		<tr>
			<td class="contentCell">
				<h1>Results:</h1>
				<asp:Label id="lblError" ForeColor="red" EnableViewState="false" Runat="Server" />
				<it:DisplayIssues id="ctlDisplayIssues" Runat="Server" onrebindcommand="IssuesRebind" />
			</td>
		</tr>
	</table>
</form>
<it:Footer runat="server" id="Footer1" />
